package com.ruoyi.caigou.service;

import java.util.List;
import com.ruoyi.caigou.domain.BuyOrderGoods;

/**
 * 采购订单商品Service接口
 * 
 * @author lvql
 * @date 2024-11-02
 */
public interface IBuyOrderGoodsService 
{
    /**
     * 查询采购订单商品
     * 
     * @param id 采购订单商品主键
     * @return 采购订单商品
     */
    public BuyOrderGoods selectBuyOrderGoodsById(Integer id);

    /**
     * 查询采购订单商品列表
     * 
     * @param buyOrderGoods 采购订单商品
     * @return 采购订单商品集合
     */
    public List<BuyOrderGoods> selectBuyOrderGoodsList(BuyOrderGoods buyOrderGoods);

    /**
     * 新增采购订单商品
     * 
     * @param buyOrderGoods 采购订单商品
     * @return 结果
     */
    public int insertBuyOrderGoods(BuyOrderGoods buyOrderGoods);

    /**
     * 修改采购订单商品
     * 
     * @param buyOrderGoods 采购订单商品
     * @return 结果
     */
    public int updateBuyOrderGoods(BuyOrderGoods buyOrderGoods);

    /**
     * 批量删除采购订单商品
     * 
     * @param ids 需要删除的采购订单商品主键集合
     * @return 结果
     */
    public int deleteBuyOrderGoodsByIds(Integer[] ids);

    /**
     * 删除采购订单商品信息
     * 
     * @param id 采购订单商品主键
     * @return 结果
     */
    public int deleteBuyOrderGoodsById(Integer id);

    List<BuyOrderGoods> useSelectBuyOrderGoodsList(BuyOrderGoods buyOrderGoods);
}
